﻿using Yz.Base;

namespace Yz.Cache.Base
{
    public class CacheTime
    {
        public int Time { get; set; } = 2;
        public TimeType TimeType { get; set; } = TimeType.Hour;
    }
    public class CacheDbTime : CacheTime
    {
        /// <summary>
        /// 缓存数据库索引
        /// </summary>
        public int DbNum { get; set; }
    }
}
